
package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.DayHealthEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2018-07-04 14:01:41
*/
public interface DayHealthDao {

	Integer insert(DayHealthEntity dayHealth);
	Integer update(DayHealthEntity dayHealth);

	void insertBatch(List<DayHealthEntity> dayHealthList);

	Integer deleteByKey(@Param("key") Integer key, @Param("corpid") String corpid);
	DayHealthEntity getByKey(@Param("key") Integer key, @Param("corpid") String corpid);


	List<DayHealthEntity>  findEntitys(@Param("param") Map<String, Object> param);
	Integer getEntitysCount(@Param("param") Map<String, Object> param);

	List<DayHealthEntity> findByEntryTimeAndCorpid(Map<String, Object> param);



}